package com.haiyan.demo04_类和对象的练习;

public class Test {
    public static void main(String[] args) {
        Student stu=new Student();
        System.out.println(stu);

        System.out.println(stu.name+","+stu.age);
        stu.name="张三";
        stu.age=18;
        System.out.println(stu.name+","+stu.age);
        stu.study();
    }
}
